<layout name='layout_page' />

<div class="row">
	<div class="col-lg-12">
		<div class="row">
			<div class="col-lg-12">
				<ol class="breadcrumb">
					<li><a href="<{:U('Index/index')}>">Home</a></li>
					<li class="active"><span>Training plan</span></li>
				</ol>
				<h1>Training plan</h1>
			</div>
		</div>


		<div class="row">
			<div class="col-lg-12">
				<div class="main-box no-header clearfix">
					<div class="main-box-body clearfix">
						<div class="table-responsive">
							<table class="table user-list table-hover">
								<thead>
									<tr>
										<th><span>User</span></th>
										<th><span>title</span></th>
										<th class="text-center"><span>Status</span></th>
										<th><span>Creat time</span></th>
										<th>&nbsp;</th>
									</tr>
								</thead>
								<tbody>
									<volist name="list" id="vo">
									<tr>
										<td><img class="user-list-img" src="<{$vo.menteesFace|getFace}>" alt=""> <a href="<{:U('Mentees/detail',array('id'=>$vo['menteesID']))}>" class="user-link"><{$vo.menteesName}></a> <span class="user-subhead"><{$vo.trainName}></span></td>
										<td><{$vo.title}></td>
										<td class="text-center"><?php if($vo['status']==1){ ?><span class="label label-default">Inactive</span><?php }else{ ?><span class="label label-success">Learning</span><?php } ?></td>
										<td><{$vo.createTime|date="F,d,Y H:i:s",###}></td>
										<td style="width: 20%;"> <a href="<{:U('Plan/node',array('planID'=>$vo['id'],'trainID'=>$vo['trainID']))}>" class="table-link"> <span class="fa-stack"> <i class="fa fa-square fa-stack-2x"></i> <i class="fa fa-search-plus fa-stack-1x fa-inverse"></i> </span> </a> <a href="<{:U('Plan/del',array('id'=>$vo['id']))}>" class="table-link danger"> <span class="fa-stack"> <i class="fa fa-square fa-stack-2x"></i> <i class="fa fa-trash-o fa-stack-1x fa-inverse"></i> </span> </a></td>
									</tr>
									</volist>
								</tbody>
							</table>
						</div>
					</div>
				</div>
			</div>
		</div>


		<div class="row">
			<div class="col-md-12">
				<div class="page">
					<nav>
	  					<ul class="pagination"><{$page}></ul>
	  				</nav>
	  			</div>
			</div>
		</div>	
	</div>
</div>